<?php if( ($iNodeId) && ($iParentId) ): ?>
  <?php include_partial('caPropelTree/nodeSimpleMenu',array('iNodeId' => $iNodeId)) ;?>
  <?php include_partial('caPropelTree/nodeAdvancedMenu',array('iNodeId' => $iNodeId, 'iParentId' => $iParentId)) ;?>

  <?php if(sfConfig::get('app_caPropelTreePlugin_sExtensionNodeMenu')): ?>
    <?php include_partial(sfConfig::get('app_caPropelTreePlugin_sExtensionNodeMenu'),array('iNodeId' => $iNodeId, 'iParentId' => $iParentId)); ?>
  <?php endif; ?>

<?php endif; ?>
  